package com.xpsoft.oa.model.admin;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.AppUser;
import com.xpsoft.oa.model.system.Department;

/**
 * AdminExpenses Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class AdminExpenses extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected AppUser applyUser;
	@Expose
	protected Department dept;
	@Expose
	protected java.util.Date formDate;
	@Expose
	protected String expensesType;
	@Expose
	protected java.math.BigDecimal amount;
	@Expose
	protected String amountBig;
	@Expose
	protected String isToLean;
	@Expose
	protected java.math.BigDecimal leanAmount;
	@Expose
	protected String remark;
	@Expose
	protected Long processRunId;


	/**
	 * Default Empty Constructor for class AdminExpenses
	 */
	public AdminExpenses () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class AdminExpenses
	 */
	public AdminExpenses (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	

	public AppUser getApplyUser() {
		return applyUser;
	}

	public void setApplyUser(AppUser applyUser) {
		this.applyUser = applyUser;
	}

	public Department getDept() {
		return dept;
	}

	public void setDept(Department dept) {
		this.dept = dept;
	}

	/**
	 * 填写日期	 * @return java.util.Date
	 * @hibernate.property column="formDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getFormDate() {
		return this.formDate;
	}
	
	/**
	 * Set the formDate
	 */	
	public void setFormDate(java.util.Date aValue) {
		this.formDate = aValue;
	}	

	/**
	 * 报销类型	 * @return String
	 * @hibernate.property column="expensesType" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getExpensesType() {
		return this.expensesType;
	}
	
	/**
	 * Set the expensesType
	 */	
	public void setExpensesType(String aValue) {
		this.expensesType = aValue;
	}	

	/**
	 * 合计	 * @return java.math.BigDecimal
	 * @hibernate.property column="amount" type="java.math.BigDecimal" length="13" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getAmount() {
		return this.amount;
	}
	
	/**
	 * Set the amount
	 */	
	public void setAmount(java.math.BigDecimal aValue) {
		this.amount = aValue;
	}	

	/**
	 * 金额大写	 * @return String
	 * @hibernate.property column="amountBig" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getAmountBig() {
		return this.amountBig;
	}
	
	/**
	 * Set the amountBig
	 */	
	public void setAmountBig(String aValue) {
		this.amountBig = aValue;
	}	

	/**
	 * 	 * @return String
	 * @hibernate.property column="isToLean" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getIsToLean() {
		return this.isToLean;
	}
	
	/**
	 * Set the isToLean
	 */	
	public void setIsToLean(String aValue) {
		this.isToLean = aValue;
	}	

	/**
	 * 备用金/借款	 * @return java.math.BigDecimal
	 * @hibernate.property column="leanAmount" type="java.math.BigDecimal" length="13" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getLeanAmount() {
		return this.leanAmount;
	}
	
	/**
	 * Set the leanAmount
	 */	
	public void setLeanAmount(java.math.BigDecimal aValue) {
		this.leanAmount = aValue;
	}	

	/**
	 * 备注	 * @return String
	 * @hibernate.property column="remark" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * Set the remark
	 */	
	public void setRemark(String aValue) {
		this.remark = aValue;
	}	

	/**
	 * 	 * @return Long
	 * @hibernate.property column="processRunId" type="java.lang.Long" length="19" not-null="false" unique="false"
	 */
	public Long getProcessRunId() {
		return this.processRunId;
	}
	
	/**
	 * Set the processRunId
	 */	
	public void setProcessRunId(Long aValue) {
		this.processRunId = aValue;
	}	

}
